﻿<local:WindowTemplateBase x:Class="OpenExpressApp.WPF.Templete.PopupForm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:csla="clr-namespace:Csla.Wpf;assembly=Csla"    
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:OpenExpressApp.WPF.Templete"
    xmlns:cal="http://www.codeplex.com/CompositeWPF"
    xmlns:AvalonDock="clr-namespace:AvalonDock;assembly=AvalonDock" 
    Height="Auto" Width="Auto">
    <Border Margin="10,5,10,10" Grid.Row="1" CornerRadius="4,4,4,4" BorderBrush="#FF0F68A6" Background="#FFFCFCFC" BorderThickness="2,2,2,2" Width="Auto" Height="Auto" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <DockPanel>
            <ContentControl >
                <AvalonDock:DockingManager>
                    <AvalonDock:ResizingPanel Name="resizingPanel">
                        <AvalonDock:DockablePane AvalonDock:ResizingPanel.ResizeWidth="350" Name="queryPane">
                            <AvalonDock:DockableContent Title="条件查询" DockableStyle="Dockable" Name="dcCondition">
                                <DockPanel Name="conditionQueryRegion" />
                            </AvalonDock:DockableContent>
                            <AvalonDock:DockableContent Title="导航查询" DockableStyle="Dockable" Name="dcNavigate" >
                                <DockPanel Name="navigateQueryRegion" />
                            </AvalonDock:DockableContent>
                        </AvalonDock:DockablePane>
                        <AvalonDock:DocumentPane>
                            <AvalonDock:DocumentContent Title="内容" >
                                <Grid Name="listRegion"/>
                            </AvalonDock:DocumentContent>
                        </AvalonDock:DocumentPane>
                    </AvalonDock:ResizingPanel>
                </AvalonDock:DockingManager>
            </ContentControl>
        </DockPanel>
    </Border>
</local:WindowTemplateBase>
